<#import "function.ftl" as func>
<#assign package=model.variables.package>
<#assign comment=model.tabComment>
<#assign class=model.variables.class>
<#assign classVar=model.variables.classVar>
<#assign system=vars.system>
<#assign domain=vars.domain>
<#assign pkType=func.getPkType(model)>
<#assign subtables=model.subTableList>
<#assign sub=model.sub>
<#assign commonList=model.commonList>
package ${domain}.${system}.service;


import service.BaseService;
import ${domain}.${system}.entity.${class};
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Page;
/**
 * @Description ${comment} 服务层接口
 * @author ${vars.developer}
 * @date ${date?string("yyyy-MM-dd HH:mm:ss")}
*/
public interface ${class}Service  extends BaseService<${class},String> {
    List<${class}> findSearch(Map whereMap);

    Page<${class}> findSearch(Map whereMap, int page, int size);

    void add(${class} ${classVar});

    void update(${class} ${classVar});
}
